package voice.main;

import voice.main.R;
import adapter.ChatAdapter;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;

public class ChatActivity extends FragmentActivity {
	
    private ChatAdapter chatAdapter;  
    private ViewPager viewPager;  
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);  
        setContentView(R.layout.chat);  
        
        chatAdapter = new ChatAdapter(getSupportFragmentManager());  
        
        viewPager = (ViewPager) findViewById(R.id.pager);  
        viewPager.setAdapter(chatAdapter);  
        
    }
}
